package com.xiaobai.data.manager.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaobai.model.entity.system.ApiAuthority;
import com.xiaobai.model.vo.system.apiAuthority.ApiAuthorityTreeVO;

import java.util.List;

public interface ApiAuthorityManager extends IService<ApiAuthority> {
    /**
     * 通过角色id获取到该角色的权限值
     * @param id
     * @return
     */
    List<ApiAuthorityTreeVO> getApiAuthorityByUserId(Long id);
}
